package com.ep.rxjava2;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

/**
 * Created by Administrator on 2017/8/8.
 */

class TimeUtil {

    public static String getNowStrTime() {
        Date currentTime = new Date();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss", Locale.US);
        String dateString = formatter.format(currentTime);
        return dateString;
    }
}
